package com.chai.service;

import com.chai.pojo.TravelGroup;
import com.chai.vo.PageResult;

import java.util.List;

public interface TravelGroupService {
    void add(Integer[] travelItemIds, TravelGroup travelGroup);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);


    TravelGroup get(Integer id);

    Integer[] getTravelItemIdsByTravelGroupId(Integer id);

    void update(Integer[] travelItemIds, TravelGroup travelGroup);

    void deleteTp(Integer id);

    List<TravelGroup> findAll();
}
